import request from '@/utils/request'

/**
 * 机构列表
 */
export function getInstitutionList(params) {
  return request({
    url: '/gene/institution/list',
    method: 'GET',
    params: params
  });
}

/**
 * 新增or修改机构
 */
export function addOrUpdateInstitution(params) {
  return request({
    url: '/gene/institution/addOrUpdate',
    method: 'POST',
    data: params
  });
}

/**
 * 删除机构
 */
export function removeInstitutionById(id) {
  return request({
    url: '/gene/institution/' + id,
    method: 'DELETE'
  });
}

